package com.carleasoft.mps.adu.business.role.bean.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色菜单表
 * </p>
 *
 * @author ztm
 * @since 2021-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("m_authority_role_permission")
@ApiModel(value="AuthorityRolePermission对象", description="角色菜单表")
public class AuthorityRolePermissionEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色id")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "角色code")
    @TableField("ROLE_CODE")
    private String roleCode;

    @ApiModelProperty(value = "对应菜单或者按钮的code")
    @TableField("PERMISSION_CODE")
    private String permissionCode;


}
